﻿/*******************************************************************************
 * Copyright © 2017 FriendStar.Framework 版权所有
 * Author: FZH
 * Description: FriendStar快速开发平台
 * Website：http://www.FriendStar.cn
*********************************************************************************/
using System;
using SqlSugar;

namespace FriendStar.Domain.Entity.BOM
{
    /// <summary>
	/// 数据视图 V_Mol_11_DA_Mold 对应的数据实体类，数据表描述：
	/// </summary>
    [Serializable]
    [SugarMapping(TableName = "V_Mol_11_DA_Mold")]
	public partial class V_Mol_11_DA_MoldEntity
    {
        ///<summary>
		///
		///</summary>
        public string Moldid { get; set; } 
        ///<summary>
		///
		///</summary>
        public string UseUnit { get; set; } 
        ///<summary>
		///
		///</summary>
        public string RegistrationDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public string WorkpieceNo { get; set; } 
        ///<summary>
		///
		///</summary>
        public string WorkpieceName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string ProcessNO { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldNO { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string AssetsNO { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? MoldNum { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldSize { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? CloseHeight { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? MoldWeight { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? TopWeight { get; set; } 
        ///<summary>
		///
		///</summary>
        public string CopyMold { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldProductionNO { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldCategory { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldCategoryName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldType { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldTypeName { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? MoldLife { get; set; } 
        ///<summary>
		///
		///</summary>
        public string TransDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? TransValues { get; set; } 
        ///<summary>
		///
		///</summary>
        public string RightUnit { get; set; } 
        ///<summary>
		///
		///</summary>
        public string RightUnitName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string PutDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? UsedPress { get; set; } 
        ///<summary>
		///
		///</summary>
        public string IsDisable { get; set; } 
        ///<summary>
		///
		///</summary>
        public string ManuUnit { get; set; } 
        ///<summary>
		///
		///</summary>
        public string ManuUnitName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldUnit { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldUnitName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldWorkshop { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldWorkshopName { get; set; } 
        ///<summary>
		///
		///</summary>
        public string VehicleDistr { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? MaintenCycle { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? MaintenNumber { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MaintenSign { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MaintenDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? RinseCycle { get; set; } 
        ///<summary>
		///
		///</summary>
        public decimal? RinseNumber { get; set; } 
        ///<summary>
		///
		///</summary>
        public string RinseSign { get; set; } 
        ///<summary>
		///
		///</summary>
        public string RinseDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public string ProjectUnit { get; set; } 
        ///<summary>
		///
		///</summary>
        public string ProjectNo { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MoldExplain { get; set; } 
        ///<summary>
		///
		///</summary>
        public string InputUser { get; set; } 
        ///<summary>
		///
		///</summary>
        public string InputDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public string InputTime { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FUpdateBy { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FUpdateDate { get; set; } 
        ///<summary>
		///
		///</summary>
        public string FUpdateTime { get; set; } 
        ///<summary>
		///
		///</summary>
        public string MaintainStatus { get; set; }



        public string ManuUnitAll
        {
            get {
                return ManuUnit + (string.IsNullOrEmpty(ManuUnitName) ? "" : " " + ManuUnitName);
            }
        }

        public string RightUnitAll
        {
            get {
                return RightUnit + (string.IsNullOrEmpty(RightUnitName) ? "" : " " + RightUnitName);
            }
        }
    }
}